package com.taurus.myboard.service;

import com.taurus.myboard.pojo.FileInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Map;

public interface IFateDataService {
    Map<String, String> upLoadData(MultipartFile file, String table_name, Integer head, Integer partition,
                                   String namespace, Integer count, Integer drop) throws IOException;

    Map<String, Object> queryUploadHistory(String jobId, Integer limit, Long headIndex, Long tailIndex);

    Map<String, String> saveFileInfo(FileInfoVo fileInfoVo);
}
